home *** CD-ROM | disk | FTP | other *** search
/ United Public Domain Gold 2 / United Public Domain Gold 2.iso / utilities / pu086.dms / pu086.adf / Texts / Bootable < prev    next >
Text File  |  1990-12-04  |  4KB  |  121 lines

  1.  
  2. (c) 1990 Steve Hawtin.
  3.  
  4.   When I run NorthC I normally run it from a bootable disk, this lets me 
  5. have one floppy with the system code and NorthC and a second floppy 
  6. containing the program that I am working on, thus reducing the disk 
  7. swapping.  For various legal reasons I will not distribute NorthC on a 
  8. bootable disk so an obvious question is how to create a bootable NorthC 
  9. disk.
  10.  
  11.   On NorthC 1.2 I gave some hints about how to create such a floppy, 
  12. however on rereading them I thought they were a touch too obscure, OK for 
  13. the majority of Amiga users who know all about the CLI but no good for the 
  14. beginner.  So I have written this set of instructions for creating a 
  15. bootable NorthC disk, the disk you create will not be optimal for your 
  16. system but once you have a working disk you can hack it about to improve 
  17. it.
  18.  
  19.   I am assuming that you have Workbench 1.3.1, if you have a different 
  20. Workbench disk then this might not work, it should be close enough, if 
  21. you find a better way to do it drop me a line.
  22.  
  23.  
  24. 1. Copy your Workbench disk, make sure your workbench disk is write 
  25. protected and type
  26.  
  27.     diskcopy df0: to df1:
  28.  
  29. or something similar.
  30.  
  31.  
  32. 2. Rename the new copy of workbench,
  33.  
  34.     relable df1: Boot-NorthC
  35.  
  36.  
  37. 3. Make some space on the disk, delete the following files and directories
  38.  
  39.     Boot-NorthC:#?.info
  40.     Boot-NorthC:Trashcan
  41.     Boot-NorthC:Shell
  42.     Boot-NorthC:Empty
  43.     Boot-NorthC:Expansion
  44.     Boot-NorthC:c/Fault
  45.     Boot-NorthC:c/Install
  46.     Boot-NorthC:c/Ed
  47.     Boot-NorthC:c/Edit
  48.     Boot-NorthC:c/DiskChange
  49.     Boot-NorthC:c/Dir
  50.     Boot-NorthC:c/NewCLI
  51.     Boot-NorthC:c/DiskDoctor
  52.     Boot-NorthC:prefs/#?.info
  53.     Boot-NorthC:prefs/Preferences
  54.     Boot-NorthC:system/#?.info
  55.     Boot-NorthC:l/FastFileSystem
  56.     Boot-NorthC:fonts/ruby.font
  57.     Boot-NorthC:fonts/ruby
  58.     Boot-NorthC:fonts/diamond.font
  59.     Boot-NorthC:fonts/diamond
  60.     Boot-NorthC:fonts/opal.font
  61.     Boot-NorthC:fonts/opal
  62.     Boot-NorthC:fonts/saphire.font
  63.     Boot-NorthC:fonts/saphire
  64.     Boot-NorthC:fonts/garnet.font
  65.     Boot-NorthC:fonts/garnet
  66.     Boot-NorthC:utilities/#?
  67.     Boot-NorthC:libs/mathieeedouble#?
  68.  
  69.  
  70. 4. Add the include files and C libraries
  71.  
  72.     makedir Boot-NorthC:include
  73.     copy NorthC:include/#? Boot-Northc:include
  74.     makedir Boot-NorthC:clibs
  75.     copy NorthC:clibs/libc.a Boot-Northc:clibs
  76.     copy NorthC:clibs/crt0.o Boot-Northc:clibs
  77.  
  78.  
  79. 5. Copy the minimal set of programs
  80.  
  81.     copy NorthC:bin/NorthC Boot-NorthC:utilities
  82.     copy NorthC:bin/A68K Boot-NorthC:utilities
  83.     copy NorthC:bin/Blink Boot-NorthC:utilities
  84.     copy NorthC:bin/make Boot-NorthC:utilities
  85.     copy "Extras 1.3:tools/memacs" Boot-NorthC:utilities
  86.  
  87. the "memacs" program is to be found on the Amiga Extras disk that came with 
  88. Workbench 1.3.
  89.  
  90.  
  91. 6. Prepare the "s:startup-sequence" file, where it says "loadwb" at the 
  92. end of the file replace it with
  93.  
  94.     path ram: c: sys:utilities sys:system s: sys:prefs add
  95.     ;LoadWB delay  ;Comment out the loadwb command
  96.     assign clibs: :clibs
  97.     setenv INCLUDE df0:include
  98.     newshell "newcon:0/10/640/246/NorthC 1.1 Shell"
  99.     endcli >NIL:
  100.  
  101. into "s:startup-sequence" to replace the "loadwb" line.  On NTSC systems 
  102. the newcon command should of course read
  103.  
  104.     newshell "newcon:0/10/640/190/Boot-NorthC 1.2 Shell"
  105.  
  106.  
  107.  
  108.   And there you have it, you can now use this disk as your normal Workbench 
  109. disk, use "memacs" to edit 'C' files, and "make" to compile them.  This disk 
  110. does not include the optimiser.
  111.  
  112.   I have been told that "Power Packer" by Nico Francois is a useful tool 
  113. for squeezing even more programs on the disk, it is distributed by Fred Fish, 
  114. ask your local PD supplier for the disk.
  115.  
  116.   Once you have created a bootable floppy in this way you are not allowed 
  117. to give copies away, that would break some of the rules for copying the 
  118. programs.
  119.  
  120.  
  121.